package com.pro.mapper;

import com.pro.pojo.JsUserDevelopment;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;

/**
 * ClassName:JsUserDevelopmentMapper
 * Package:com.pro.mapper
 * Description:
 *
 * @Date:2021/11/14 14:46
 * @Author: ZPT
 */
public interface JsUserDevelopmentMapper {
    /**
     *
     * @author ZPT
     * @date 2021/11/14 14:46
     * @content :查询进思学员的信息
     */
    List<JsUserDevelopmentMapper> getUserDevelopmentTable(@Param("userCode")Integer userCode,@Param("studyDate")Integer studyDate,@Param("consumption")Integer consumption);
    /**
     *
     * @author ZPT
     * @date 2021/11/14 14:51
     * @content :总数
     */
    int count();
    /**
     *
     * @author ZPT
     * @date 2021/11/14 18:38
     * @content :修改用户的毕业状态
     */
    Integer updateType(@Param("userId")Integer userId, @Param("type")Integer type);
    /**
     *
     * @author ZPT
     * @date 2021/11/15 20:20
     * @content :进思用户的搜索
     */
    List<JsUserDevelopment> getSearchUserDevelopment(@Param("nickname")String nickname, @Param("profession")String profession);
    /**
     *
     * @author ZPT
     * @date 2021/11/15 11:54
     * @content :单个查询
     */
    JsUserDevelopment getinformation(Integer userId);
    /**
     *
     * @author ZPT
     * @date 2021/11/18 18:35
     * @content :修改进思用户信息
     */
    Boolean updateUserDevelop(JsUserDevelopment jsUserDevelopment);
    /**
     *
     * @author ZPT
     * @date 2021/11/18 18:43
     * @content :修改前台用户信息
     */
    Boolean updateUserBefore(JsUserDevelopment jsUserDevelopment);
    /**
     *
     * @author ZPT
     * @date 2021/11/24 20:48
     * @content :添加进思学生
     */
    Boolean addUserDevelop(JsUserDevelopment jsUserDevelopment);

}
